home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Samples / SampleCode / Unsupported Libraries / WWWAnchorIO_Lib.h < prev   
Encoding:
C/C++ Source or Header  |  1997-08-14  |  792 b   |  43 lines  |  [TEXT/MPS ]

  1. /*
  2.  * WWWAnchorIO_Lib.h
  3.  */
  4. #include "QD3D.h"
  5. #include "QD3DPick.h"
  6.  
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif  /* __cplusplus */
  10.  
  11. TQ3Status WWWAnchor_Register(
  12.     void);
  13.  
  14. TQ3Status WWWAnchor_UnRegister(
  15.     void);
  16.  
  17. #define kElementTypeWWWAnchor    ((TQ3ElementType) Q3_OBJECT_TYPE('w','w','w','a'))
  18. #define kElementNameWWWAnchor    "WWWAnchor"
  19.  
  20. typedef struct WWWAnchorData {
  21.     char    *url;
  22. } WWWAnchorData;
  23.  
  24. /* These return kQ3True if found, kQ3False if not */
  25.  
  26. TQ3Boolean WWWAnchor_GetFromObject(
  27.     TQ3Object            object,
  28.     WWWAnchorData        *data);
  29.  
  30. TQ3Boolean WWWAnchor_GetFromHitData(
  31.     const TQ3HitData    *hitData,
  32.     WWWAnchorData        *data);
  33.  
  34. /* If the above return kQ3True, call this when you're done with the data */
  35.      
  36. void WWWAnchor_Empty(
  37.     WWWAnchorData        *data);
  38.  
  39. #ifdef __cplusplus
  40. }
  41. #endif    /* __cplusplus */
  42.  
  43.